package org.agent.pojo;

import java.util.Date;


/*
 * 通用的pojo类，包含每个pojo共有的属性如id，分页
 * @return
 * */
public class BasePojo {
	/*
	 * 主键
	 * @return
	 * */
	//因为为了在mybaties查询对每个pojo默认的封装，id必须存在，所以不必要共用ID
//	private Integer id;
	
	
	/*
	 * 分页的起始行
	 * @return
	 * */
	private Integer starNum;
	/*
	 * 每页显示条数
	 * @return
	 * */
	private Integer pageSize;
	/*
	 * 日期查询起始时间
	 * @return
	 * */
	private Date startTime;
	/*
	 * 日期查询截止时间
	 * @return
	 * */
	private Date endTime;
	/*
	 * 搜索
	 * @return
	 * */
	private String searchStr;
	/*public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}*/
	public Integer getStarNum() {
		return starNum;
	}
	public void setStarNum(Integer starNum) {
		this.starNum = starNum;
	}
	public Integer getPageSize() {
		return pageSize;
	}
	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}
	public Date getStartTime() {
		return startTime;
	}
	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}
	public Date getEndTime() {
		return endTime;
	}
	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
	public String getSearchStr() {
		return searchStr;
	}
	public void setSearchStr(String searchStr) {
		this.searchStr = searchStr;
	}

	
}
